selectionAsHtml

public abstract String selectionAsHtml()

Returns a string that contains HTML of the selected content in the frame or an empty string if there is no selection.

Throws

when the frame is closed